package mc0101.mccache.dto;

import java.util.List;
import java.util.Map;

public class ZcParamResponseData {
    private boolean success;

    private String message;

    private Map<String, List<Map<String, Object>>> data;

    public ZcParamResponseData() {
    }

    public ZcParamResponseData(boolean success, String message, Map<String, List<Map<String, Object>>> data) {
        this.success = success;
        this.message = message;
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Map<String, List<Map<String, Object>>> getData() {
        return data;
    }

    public void setData(Map<String, List<Map<String, Object>>> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ZcParamResponseData{");
        sb.append("success=").append(success);
        sb.append(", message='").append(message).append('\'');
        sb.append(", data=").append(data);
        sb.append('}');
        return sb.toString();
    }
}